package cn.school.entity;

import java.util.ArrayList;
import java.util.List;

public class Grade {
	private long id;
	private String gname;
	private List<Student> student = new ArrayList<Student>();

	@Override
	public String toString() {
		return id + "\t" + gname;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getGname() {
		return gname;
	}

	public void setGname(String gname) {
		this.gname = gname;
	}

	public List<Student> getStudent() {
		return student;
	}

	public void setStudent(List<Student> student) {
		this.student = student;
	}

}
